package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/12/30.
 */

public class GwUpgrad9531StatusEvent extends SmartHomeEvent {

    /**
     * status : 1
     * status：升级状态。
     * 0（固件下载中），
     * 1（固件下载成功），
     * 2（固件下载失败，校验错误），
     * 3（固件下载失败，下载超时），
     * 4（固件下载失败，设备地址错误），
     * 5（固件下载失败，设备名称错误）
     */

    private int gwId;
    private String status;

    public GwUpgrad9531StatusEvent(String ccuId,String status) {
        super(ccuId);
        this.status = status;
    }

    public GwUpgrad9531StatusEvent(String ccuId, int gwId, String status) {
        super(ccuId);
        this.gwId = gwId;
        this.status = status;
    }

    public int getGwId() {
        return gwId;
    }

    public void setGwId(int gwId) {
        this.gwId = gwId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
